// (C) Szymon Piechowicz, February 2012

#ifndef __HALL_SENSOR_H__
#define __HALL_SENSOR_H__


#include <stdbool.h>


typedef void (*hall_sensor_field_callback)(bool is_field_detected);


void hall_sensor_init(void);

void hall_sensor_start_measuring_field(hall_sensor_field_callback callback);
void hall_sensor_stop_measuring_field(void);


#endif